package com.zaoniao.enstudy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 启动类.
 *
 * @author llb666
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})  // 自动装配，排除安全框架的登录验证.
@MapperScan(basePackages = {"com.zaoniao.enstudy.infrastructure.mapper"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        System.out.println
                ("       ｡ﾟﾟ･｡･ﾟﾟ｡\n" +
                        "       ﾟ。    ｡ﾟ\n" +
                        "         ﾟ･｡･ﾟ\n" +
                        "       ︵        ︵\n" +
                        "     (    ╲   /   /\n" +
                        "      ╲     ╲/   /\n" +
                        "        ╲     ╲ /\n" +
                        "      ╭ ͡ ╲      ╲\n" +
                        "    ╭ ͡╲    ╲     ﾉ\n" +
                        "  ╭ ͡╲   ╲      ╱\n" +
                        "   ╲   ╲      ╱\n" +
                        "     ╲      ╱\n" +
                        "       ︶ " + "启动成功ლ(´ڡ`ლ)");
    }
}
